projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9728dab
)
rendernodeparser: Fix a memory leak when parsing glyphs
author
Timm Bäder
<mail@baedert.org>
Sun, 21 Jul 2019 07:06:50 +0000
(09:06 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sun, 21 Jul 2019 07:06:50 +0000
(09:06 +0200)
gsk/gskrendernodeparser.c
patch
|
blob
|
history
diff --git
a/gsk/gskrendernodeparser.c
b/gsk/gskrendernodeparser.c
index 402ee3e5e4899886d7e05625bb7431823b78ed43..ee370d1112e2515a4e377a10785b09533a2ae23e 100644
(file)
--- a/
gsk/gskrendernodeparser.c
+++ b/
gsk/gskrendernodeparser.c
@@
-749,6
+749,8
@@
parse_glyphs (GtkCssParser *parser,
pango_glyph_string_set_size (glyph_string, glyph_string->num_glyphs + 1);
glyph_string->glyphs[glyph_string->num_glyphs - 1] = gi;
}
+
+ g_free (s);
}
else
{